home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 212_01 / headers.bds < prev    next >
Encoding:
Text File  |  1980-01-01  |  3.9 KB  |  126 lines

  1. HEADERS.BDS      VERS:- 01.00  DATE:- 09/26/86  TIME:- 09:36:37 PM
  2.  
  3. Short descriptions of C programs and related files.
  4.  
  5. Written for BDS C compiler, version 1.50a, by
  6.  
  7. John A. Rupley
  8. 30 Calle Belleza
  9. Tucson, AZ  85716
  10. (602) 325-4533
  11.  
  12. /***************************************************************************/
  13.  
  14. DIOR.C   
  15. DIO.CRL 
  16. DIO.H   
  17.  
  18. IO redirection library and header from BDS C and Van Nuys Toolkit, 
  19. by Eugene H. Mallory.
  20.  
  21. Minor modification: 
  22.     avoid CR-CR pair before LF by patch in putchar() and by adding
  23.         declaration of _putc_last in DIO.H;
  24.  
  25.  
  26.  
  27.  
  28.  
  29. FLOATR.C   
  30. FLOAT.CRL 
  31.  
  32. Library of floating point functions (FLOAT.C, by Bob Mathias)
  33.     with additions (FLOAT+44.C, by L.C. Calhoun)
  34.     with added trig functions (CTRIG.C, by L.C. Calhoun)
  35.     with added log functions (CLOGS.C, by L.C. Calhoun)
  36.     with additional function(s) (by J.A. Rupley)
  37.  
  38. FLOAT.C from BDS C distribution package, version 1.5
  39. FLOAT+44.C, CTRIG.C, AND CLOGS.C are from cug disk "functions III".
  40.  
  41. The v1.5 FLOAT.C has an updated version of _spr;
  42. replaced v1.44 std functions by v1.5 std functions.
  43.  
  44.  
  45.  
  46.  
  47.  
  48. PERCOLAR.C   
  49. PERCOLAR.COM 
  50.  
  51. Simulation of percolation on a two-dimensional square lattice, 
  52. Option to block one or more regions of the lattice to prevent sites 
  53. being filled (approximately circular blocked region = 1,3,5,3,1).
  54. The algorithm is not efficient (300 seconds/1000 site 2-d sheet).
  55.  
  56. For more information, see header following, for PERC3DR.
  57.  
  58.  
  59.  
  60.  
  61.  
  62. PERC3DR.C   
  63. PERC3DR.COM 
  64.  
  65. Simulation of percolation on a three-dimensional simple cubic lattice.
  66. Option to wrap in one dimension, ie to simulate cylindrical shells.
  67. The algorithm is fairly efficient (20 seconds/1000 site 2-d sheet).
  68.  
  69. A percolative process is characterized by a percolation transition, a phase
  70. change at which long-range connectivity (e.g., a gel phase; conduction 
  71. across the sample; etc) suddenly appears.  Connectivity is defined by the
  72. extent of a cluster of filled sites adjacent (ie, connected) in the lattice.
  73. Long-range connectivity is equivalent to a cluster of infinite extent.
  74.  
  75. The percolation model applies to stochastic processes taking place 
  76. in a spatially disordered system.  
  77. Examples: 
  78.     gelation; 
  79.     flow in a porous medium; 
  80.     dilute magnets; 
  81.     conductivity of conductor-insulator composite materials.
  82.  
  83. For a discussion of percolation, see R. Zallen, "The Physics of Amorphous
  84. Solids", John Wiley, New York, 1983.
  85.  
  86. This program finds the fractional occupancy of the model lattice at the 
  87. percolation transition.  Lattice sites are filled randomly.  When each filled
  88. site is added to the lattice, connectivity is tested along one dimension
  89. of the lattice (ie, between one pair of arbitrarily chosen sides of the 
  90. lattice).  The point of the percolation transition is the point at which
  91. connectivity between sides first appears.
  92.  
  93. Because of the stochastic character of percolation, a simulation consists
  94. of the averaging of NRPT determinations of the percolation transition.
  95.  
  96. The program is set for looping over the simulation, with change in
  97. control parameters at each loop.
  98.  
  99.  
  100. STDLIB3R.C   
  101. DEFF.CRL 
  102. DEFF2.CRL 
  103.  
  104. STDLIB3R has file-handling functions that allow use of du: in addition 
  105. to u/d: drive/user prefix.
  106. The functions have been added to DEFF.CRL
  107. They replace functions of same name in DEFF2.CRL, which must be 
  108. patched (DEFF2.CRL: open -> xpen, etc).
  109.  
  110. Functions:
  111.     open(), creat(), unlink(), rename(), execv(), exec(), du_ud().
  112.  
  113. In DEFF2.CRL:
  114.     patched header for routines (open...exec -> xpen...xxec);
  115.           patched body of routines open and unlink;
  116.     edfile or similar program used to make changes.
  117.  
  118. Execl is not patched and does not take du: form.
  119.  
  120. An alternate route, consuming less memory:
  121.     revise "setfcu" routine of ccc.asm,
  122.     then recompile: 
  123.            ccc.asm....c.ccc
  124.            bds.lib
  125.            deff2*.csm...deff2.crl
  126.